package com.wsdcd.zlg.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@Data
@NoArgsConstructor
public class Order {
	private Integer orderId;
	private String orderUser;
	private String orderProducts;
	private Integer orderQuantity;
	private Double unitPriceBeforeTax;
	private String unit;
	private String state;
	private Date subscriptionDate;
	private Date requiredDate;
	private String orderRequirements;
	private String relatedPictures;
	private String orderAttachment;

	public Order(String orderUser, String orderProducts, int orderQuantity,
			double unitPriceBeforeTax, String unit, String state,
			Date subscriptionDate, Date requiredDate, String orderRequirements,
			String relatedPictures, String orderAttachment) {
		super();
		this.orderUser = orderUser;
		this.orderProducts = orderProducts;
		this.orderQuantity = orderQuantity;
		this.unitPriceBeforeTax = unitPriceBeforeTax;
		this.unit = unit;
		this.state = state;
		this.subscriptionDate = subscriptionDate;
		this.requiredDate = requiredDate;
		this.orderRequirements = orderRequirements;
		this.relatedPictures = relatedPictures;
		this.orderAttachment = orderAttachment;
	}
}
